package net.sk.china.front.service.system;

import com.baomidou.mybatisplus.extension.service.IService;
import net.sk.china.common.model.system.SystemCity;

/**
 * SystemCityService 接口
 * +----------------------------------------------------------------------
 * | Talk To [ 聊来改善地区金融服务环境，助力企业发展 ]
 * +----------------------------------------------------------------------
 * | Copyright (c) 2018-2024 聊来All rights reserved.
 * +----------------------------------------------------------------------
 * | Licensed ( <a href="http://www.apache.org/licenses/LICENSE-2.0">apache</a> )
 * +----------------------------------------------------------------------
 * | @Author: 聊来 <18970881148@qq.com>
 * +----------------------------------------------------------------------
 * | DateTime: 2024/6/13 21:15
 * +----------------------------------------------------------------------
 */
public interface SystemCityService extends IService<SystemCity> {

    /**
     * 根据城市名称获取城市详细数据
     * @param cityName 城市名称
     * @return {@code SystemCity}
     */
    SystemCity getCityByCityName(String cityName);

    /**
     * 获取城市
     * @param cityId 城市id
     * @return {@code SystemCity}
     */
    SystemCity getCityByCityId(Integer cityId);
}
